home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v8n01.arc
/
CATALOGD.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-12-13
|
256b
|
13 lines
ECHO OFF
IF "%1"=="" GOTO PARM
IF NOT EXIST \%1\*.* GOTO invalid
CD\%1
FOR %%A IN (*.*) DO ECHO %%A %1 >> C:\CATALOG.DIR
GOTO END
:invalid
ECHO \%1 is not a valid directory, or is empty.
GOTO END.
:PARM
ECHO FORMAT IS: "CATALOGD path"
:END